<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    <script>
      console.log('JS可表示的最小值: ',Number.MIN_VALUE);
      console.log('JS可表示的最大值: ',Number.MAX_VALUE);

      var a = 100.00987;
      console.log(a);
      console.log(a.toString());

      console.log(a.toString(2));
      console.log(a.toString(8));
      console.log(a.toString(16));
      console.log(a.toString(36));

      //保留小数位数
      console.log(a.toFixed());
      console.log(a.toFixed(2));
      console.log(a.toFiexd(3));
        
    </script>
</body>
</html>